﻿@model IEnumerable<CodeFinder.Common.Entities.Post>
@{
    ViewBag.Title = "Index";
}
<h2>
    Index</h2>
<p>
    @Html.ActionLink("Create New", "Create")
</p>
@foreach (var item in Model) {
   
    <h3>@item.Title</h3>
    
        @Html.Raw(item.Content)
    
    @:@Html.ActionLink("Edit", "Edit", new { id = item.Id }) |
            @:@Html.ActionLink("Details", "Details", new { id = item.Id }) |
            @:@Html.ActionLink("Delete", "Delete", new { id = item.Id })|
    <hr style="color: #717171; height: 1px;" />
}
